<template>
	<view style="padding: 40rpx;">
		<view style="text-align: center;background-color: white;height: 20rpx;"></view>
		<view class="cu-form-group margin-top">
				<textarea maxlength="50"   placeholder="说点什么..." v-model="msg"></textarea>
		</view>
		<view style="background-color: white;display: flex;justify-content: end;padding-right: 40rpx;">
			<view>{{msg.length}}/50</view>
		</view>
		<button class="cu-btn block bg-red margin-tb-sm lg" @click="push">
			<text class="cuIcon-pick"></text> 
			提交
		</button>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				msg:''
			}
		},
		onLoad() {

		},
		methods: {
			push(){
				uni.showToast({
					title:'提交成功',
					icon:'success'
				})
				this.msg = ''
			}
			
			
			
		}
	}
</script>

<style>
	page {
		background-color: #F1F1F1;
	}
</style>
